﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GlassStore.Models.TopCatalogue>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	编辑顶级目录
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <h2>编辑顶级目录</h2>
    <% Html.EnableClientValidation(); %>

    <% using (Html.BeginForm("EditTop", "CatalogueManager", FormMethod.Post, new { enctype = "multipart/form-data" }))
       {%>
        <%: Html.ValidationSummary(true) %>
        <fieldset>
            <legend>目录信息</legend>
            
            <%: Html.EditorForModel() %>
            
            <p>
                <input type="submit" value="保存" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%: Html.ActionLink("返回顶级目录列表", "Index") %>
    </div>

</asp:Content>

